package com.ehome.poct.base.api.dto.device;

import com.ehome.core.annotations.FastQry;
import com.ehome.core.constant.FilterRules;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.List;

@ApiModel("设备开机启动导出条件")
@Data
@NoArgsConstructor
public class BootingExportQry {

    public BootingExportQry(Integer deviceType,List<String> sno){
        this.deviceType = deviceType;
        this.sno = sno;
    }
    @ApiModelProperty("设备类型 1 金标仪 2 血常规")
    private Integer deviceType;
    /**
     * 金蝶云物料id
     */
    @ApiModelProperty("来源物料IDidList")
    @FastQry(value = FilterRules.IN,field = "sno")
    private List<String> sno;
}
